using System;
using System.Data;
using System.Configuration;
using System.Collections;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Web.UI.HtmlControls;

public partial class admin_webparts_Plug_ins_Product_ProductManagement : System.Web.UI.UserControl
{
    protected void Page_Load(object sender, EventArgs e)
    {
        try
        {
            string controlName = String.Empty;
            if (Request.QueryString["g"] != null)
            {
                controlName = "ProductTypeList.ascx";
            }

            if (controlName == String.Empty)
            {
                controlName = "ProductGroupList.ascx";
            }
            Control ctrl = LoadControl(controlName);
            this.Controls.Add(ctrl);
        }
        catch (Exception)
        {
        }
    }
}
